package com.hdu.kdk_feign.feignClients;

import com.hdu.User;
import com.hdu.kdk_feign.annotation.*;


@FeignClient(url = "localhost:12345/user")
public interface UserClient {

    @GetMapping("info")
    User getUserById(@RequestParam("id") Long id);
}
